<%-- 
    Document   : lista
    Created on : Mar 18, 2014, 7:20:47 PM
    Author     : silvio
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <title>Edição de Servidor</title>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/960.css" type="text/css" media="screen" charset="utf-8" />
        <!--<link rel="stylesheet" href="css/fluid.css" type="text/css" media="screen" charset="utf-8" />-->
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/template.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/colour.css" type="text/css" media="screen" charset="utf-8" />        
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/estilosSite.css" type="text/css" media="screen" charset="utf-8" />        
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.11.0.min.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.validate.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/servidores/validar.js"></script>
        <script src="${pageContext.request.contextPath}/js/jquery-ui-1.11.0/jquery-1.10.2.js"></script>
        <script src="${pageContext.request.contextPath}/js/jquery-ui-1.11.0/jquery-ui.js"></script>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/js/jquery-ui-1.11.0/jquery-ui.theme.css">

    </head>
    <body>

        <h1 id="head">WEBFIS - Edição de Servidor</h1>

        <ul id="navigation">
            <li><span class="active">Overview</span></li>
            <li><a href="#">News</a></li>
            <li><a href="#">Users</a></li>
        </ul>

        <div id="content" class="container_16 clearfix">
            <form name="formEdita" id="formEdita" method="post" action="${pageContext.request.contextPath}/servidores/">
            <div class="grid_4">
                <p>
                    <input type="hidden" name="servidores.idServidor" value="${servidores.idServidor}" />
                    <label>Nome</label>
                    <input type="text" id="nome" name="servidores.nome" class="CampoTexto" value="${servidores.nome}"/>                                    
                    <label>Masp</label>
                    <input type="text" id="masp" name="servidores.masp" class="CampoTexto" value="${servidores.masp}"/>                                    
                    <label>Cargo</label>
                                        
                    <select name="servidores.cargo.idCargo">  
                        <option value=""></option>  
                        <c:forEach items="${cargos}" var="cargos">  
                            <option value="${cargos.idCargo}">${cargos.cargo}</option>  
                        </c:forEach>  
                    </select>  
                    <label>Seção</label>
                    <select name="servidores.secao.idSecao">  
                        <option value=""></option>  
                        <c:forEach items="${secoes}" var="secoes">  
                            <option value="${secoes.idSecao}">${secoes.secao}</option>  
                        </c:forEach>  
                    </select>
                    <label>Data de nomeação</label>
                    <input type="text" id="nomeacao" name="servidores.nomeacao" class="CampoTexto" value="${servidores.nomeacao}"/>                                    
                    <label>Regime de trabalho</label>
                    <input type="text" id="idRegime" name="servidores.idRegime" class="CampoTexto" value="${servidores.idRegime}"/>                                    
                    <label>CPF</label>
                    <input type="text" id="cpf" name="servidores.cpf" class="CampoTexto" value="${servidores.cpf}"/>                                    
                    <label>RG</label>
                    <input type="text" id="rg" name="servidores.rg" class="CampoTexto" value="${servidores.rg}"/>                                    
                    <label>Celular</label>
                    <input type="text" id="telefoneCelular" name="servidores.telefoneCelular" class="CampoTexto" value="${servidores.telefoneCelular}"/>                                    
                    <label>Data nascimento</label>
                    <input type="text" id="nascimento" name="servidores.nascimento" class="CampoTexto" value="${servidores.nascimento}"/>                                    
                    <label>Email</label>
                    <input type="text" id="email" name="servidores.email" class="CampoTexto" value="${servidores.email}"/>                                    
                    <label>Telefone</label>
                    <input type="text" id="telefoneResidencial" name="servidores.telefoneResidencial" class="CampoTexto" value="${servidores.telefoneResidencial}"/>
                    <label>Formação acadêmica</label>
                    <input type="text" id="idFormacao" name="servidores.idFormacao" class="CampoTexto" value="${servidores.idFormacao}"/>
                    <label>Pós graduação</label>
                    <input type="text" id="especializacao" name="servidores.especializacao" class="CampoTexto" value="${servidores.especializacao}"/>
                    <label>Curriculo</label>
                    <input type="text" id="curriculo" name="servidores.curriculo" class="CampoTexto" value="${servidores.curriculo}"/>                   
                </p>                
            </div>				
            <div class="grid_4">                
                    <label>&nbsp;</label>
                    <input type="submit" value="Salvar" class="BtnSalvar"/>
                    <input type="reset" value="Cancelar" class="BtnGeral" onclick="" />
            </div>
             
                    </form> 
            <div class="grid_16">
                
            </div>
        </div>

        <div id="foot">


        </div>
    </body>
</html>
